
package org.apache.mina.common;

/**
 * A {@link RuntimeException} which is thrown when {@link IoFilter#init()} or
 * {@link IoFilter#onPostAdd(IoFilterChain, String, org.apache.mina.common.IoFilter.NextFilter)}
 * failed.
 * 
 * 当IoFilter.init()或IoFilter.onPostAdd(IoFilterChain,String,NextFilter)失败，
 * 则会抛出此异常。
 * 
 */
public class IoFilterLifeCycleException extends RuntimeException {
    private static final long serialVersionUID = -5542098881633506449L;

    public IoFilterLifeCycleException() {
    }

    public IoFilterLifeCycleException(String message) {
        super(message);
    }

    public IoFilterLifeCycleException(String message, Throwable cause) {
        super(message, cause);
    }

    public IoFilterLifeCycleException(Throwable cause) {
        super(cause);
    }
}
